package com.netflix.loadbalancer;

import java.util.Collections;
import java.util.List;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class NoOpLoadBalancer extends AbstractLoadBalancer {

    static final Logger logger = LoggerFactory.getLogger(NoOpLoadBalancer.class);

    @Override
    public void addServers(List<Server> newServers) {
        logger.info("addServers to NoOpLoadBalancer ignored");
    }

    @Override
    public Server chooseServer(Object key) {
        return null;
    }

    @Override
    public LoadBalancerStats getLoadBalancerStats() {
        return null;
    }


    @Override
    public List<Server> getServerList(ServerGroup serverGroup) {
        return Collections.emptyList();
    }

    @Override
    public void markServerDown(Server server) {
        logger.info("markServerDown to NoOpLoadBalancer ignored");
    }

    @Override
    public List<Server> getServerList(boolean availableOnly) {
        // TODO Auto-generated method stub
        return null;
    }

    @Override
    public List<Server> getReachableServers() {
        return null;

    }

    @Override
    public List<Server> getAllServers() {
        return null;
    }
}
